package app.fugema.shop.main.center.view;


import com.base.common.view.base.BaseTitleActivity;
import com.base.common.viewmodel.BaseViewModel;

import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;

import app.fugema.shop.R;
import app.fugema.shop.databinding.ActivityChargeResultBinding;


public class ChargeResultActivity extends BaseTitleActivity<ActivityChargeResultBinding, BaseViewModel>
{

    public static void lunch(Context context, Boolean isSuccess)
    {
        // if (bean == null) return;
        Intent intent = new Intent(context, ChargeResultActivity.class);
        // intent.putExtra("bean", JacksonUtils.transBean2Json(bean));
        context.startActivity(intent);
    }

    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_charge_result);
    }

    @Override
    protected int getStatusBarColor()
    {
        return R.color.redColor;
    }

    @Override
    protected void initView()
    {
        super.initView();
        setCloseImg(R.mipmap.ic_back_white);
        setTitle("充值成功", R.color.white);
    }

    @Override
    public void onBackPressed()
    {
        super.onBackPressed();
    }

    @Override
    public void onConfigurationChanged(Configuration newConfig)
    {
        super.onConfigurationChanged(newConfig);
    }

    @Override
    public void onResume()
    {
        super.onResume();
    }

    @Override
    protected void onPause()
    {
        super.onPause();
    }

    @Override
    protected void onDestroy()
    {
        super.onDestroy();
    }

    @Override
    protected void initData()
    {
        super.initData();
    }

}
